namespace java com.to8to.thrift.busstat
namespace php com.to8to.thrift.busstat


struct ServiceStat
{
	1:string key
	2:i64 first_time
	3:i64 succ_time
	4:i64 avg_succ_time
	5:i64 time_span
	6:i32 total
	7:i32 succ
	8:i32 fail
}


service BusStatusService
{
list<ServiceStat> getStat(1:string serviceid, 2:string method)
}